projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44b0e47
)
kirkwood: support CONFIG_SYS_THUMB_BUILD
author
Albert ARIBAUD
<
[email protected]
>
Fri, 23 Oct 2015 16:06:42 +0000
(18:06 +0200)
committer
Albert ARIBAUD
<
[email protected]
>
Tue, 10 Nov 2015 14:04:01 +0000
(15:04 +0100)
Kirkwood files cpu.c and cache.c cannot build in Thumb state;
force them in ARM state even under CONFIG_SYS_THUMB_BUILD.
Signed-off-by: Albert ARIBAUD <
[email protected]
>
arch/arm/mach-kirkwood/Makefile
patch
|
blob
|
history
diff --git
a/arch/arm/mach-kirkwood/Makefile
b/arch/arm/mach-kirkwood/Makefile
index df4756e4bdb1fd072e5356a65e9d4ec7e51b54fa..5abcf70b28537dcf2ad03f08b19bcdbbe573e2ff 100644
(file)
--- a/
arch/arm/mach-kirkwood/Makefile
+++ b/
arch/arm/mach-kirkwood/Makefile
@@
-9,3
+9,9
@@
obj-y = cpu.o
obj-y += cache.o
obj-y += mpp.o
+
+# cpu.o and cache.o contain CP15 instructions which cannot be run in
+# Thumb state, so build them for ARM state even with CONFIG_SYS_THUMB_BUILD
+
+CFLAGS_cpu.o := -marm
+CFLAGS_cache.o := -marm